package com.design.pattern.responsibility;

import lombok.Data;

/**
 * @author goujian
 * @description: TODO
 * @date 2022/3/16 2:05 下午
 */
public enum ApproveTypeEnmu {
    SMALL(1L, 10000L, "小额"),
    MIDDLE(10001L, 100000L, "小额"),
    BIG(100001L, 1000000L, "大额");
    private Long min;
    private Long max;
    private String desc;

    ApproveTypeEnmu(Long min, Long max, String desc) {
        this.min = min;
        this.max = max;
        this.desc = desc;
    }

    public Long getMin() {
        return min;
    }

    public Long getMax() {
        return max;
    }

    public String getDesc() {
        return desc;
    }
}
